import Vue from 'vue'
import Router from 'vue-router'
import Goods from 'components/goods/goods'
import Rting from 'components/rting/rting'
Vue.use(Router)
const routers = [
  {
    path: '/goods',
    name: 'goods',
    component: Goods
  },
  {
    path: '/rting',
    name: 'rting',
    component: Rting
  }
]
var router = new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: routers,
  
})
export default router;
